package com.robusta.app.catalogue.persistence;

import com.robusta.app.catalogue.model.CatalogueEntryModel;
import com.robusta.app.domain.data.Pageable;
import com.robusta.app.domain.data.Searchable;
import com.robusta.app.domain.data.Sortable;

import java.util.List;

public interface CatalogueRepository {
    int countOfEntriesMatching(Searchable searchable);
    List<CatalogueEntryModel> searchForEntries(Searchable searchable, Pageable pageable, Sortable sortable);
}
